package com.yss.feign.sentinel;

import com.yss.domain.MemberAddr;
import com.yss.ex.handler.BusinessException;
import com.yss.feign.OrderMemberFeign;
import com.yss.module.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @Author:yss
 * @Date:2024/8/8 21:27
 */
@Component
@Slf4j
public class OrderMemberFeignSentinel implements OrderMemberFeign {
    @Override
    public Result<MemberAddr> getMemberAddrById(Long addrId){
        log.error("远程接口调用失败:根据收获地址标识查询收货地址信息");
        return null;
    }

    @Override
    public Result<String> getNickNameByOpenId(String openId) {
        log.error("远程接口调用失败:根据会员openid查询会员昵称");
        return null;
    }
    @Override
    public Result<MemberAddr> getMemberDefaultAddrByOpenId(String openId) {
        log.error("远程接口调用失败：根据会员openId查询会员默认收货地址");
        return null;
    }
}
